<template>
  <div id="Title">
    <g-details
      :inputConfig="inputConfig"
      :detailData="inputData"
      ref="input"
    ></g-details>
  </div>
</template>

<script>
import details from 'commons/Detail'
import baseMixin from "@/mixins/BaseMixin";

export default {
  props: {
    inputData: {
      type: Object,
    }
  },
  mixins: [baseMixin],
  name: "Title",
  data () {
    return {}
  },
  computed: {
    inputConfig () {
      return [
          {
            type: "input",
            label: this.$t('ex.differenceNo'),
            props: "differenceNo",
            disabled: true
          },
          {
            type: "select",
            label: this.$t('ex.serialDiffStatus'),
            props: "serialDiffStatus",
            options: this.getOptions("querycodeLkup/SerialDiffStatus"),
            disabled: true
          },
          {
            type: "date",
            label:  this.$t('ex.differenceDate'),
            props: "differenceDate",
            disabled: true
          },
          {
            type: "input",
            label:  this.$t('ex.adjustmentNo'),
            props: "adjustmentNo",
            disabled: true,
            break:true
          },
          {
            type: "input",
            label: this.$t('config.shipper'),
            props: "storerKey",
            disabled: true
          },
          {
            type: "input",
            label: this.$t('config.sku'),
            props: "sku",
            disabled: true
          },
          {
            type: "input",
            label: this.$t('in.descr'),
            props: "descr",
            disabled: true,
          },
          {
            type: "input",
            label: this.$t('ex.stockNo'),
            props: "inventoryId",
            disabled: true,
            break:true
          },
          {
            type: "input",
            label: this.$t('config.loc'),
            props: "loc",
            disabled: true
          },
          {
            type: "input",
            label: this.$t('in.Lot'),
            props: "lot",
            disabled: true
          },
          {
            type: "input",
            label: this.$t('in.palletNo'),
            props: "palletNo",
            disabled: true
          },
          {
            type: "input",
            label: this.$t('in.caseNo'),
            props: "caseNo",
            disabled: true,
            break:true
          },
          {
            type: "select",
            label: this.$t('ex.serialDiffType'),
            options: this.getOptions("querycodeLkup/SerialDiffType"),
            props: "serialDiffType",
            disabled: true
          },
          {
            type: "input",
            label: this.$t('ex.differenceCount'),
            props: "differenceCount",
            disabled: true
          },
          {
            type: "input",
            label: this.$t('ex.inventoryCount'),
            props: "inventoryCount",
            disabled: true
          },
          {
            type: "input",
            label: this.$t('ex.serialInventoryCount'),
            props: "serialInventoryCount",
            disabled: true,
            break:true
          },
      ]

    },

  },
  methods: {
  },
  mounted () {
  },
  watch: {},
  components: {
    'v-details': details
  }
}
</script>

<style scoped>
</style>
